<template>
    <h2>我是Home的内容</h2>
</template>

<script>
export default {
    name:'Home',
    beforeCreate() {
    console.log('About组件即将被销毁',this);
},
mounted() {
     console.log('Home挂载完毕');
     window.homeRoute = this.$route
     window.homeRouter = this.$router

},

}
</script>

<style>

</style>